package net.uiiang.android.alkaid;

import android.view.Menu;

public interface Constant {

    /**
     * 排除的目录名,用字符串数组表示
     */
    public static final String EXCLUDE_DIRECTORY = "exclude_directory";

    /**
     * 根目录,字符串表示
     */
    public static final String ROOT_DIRECTORY = "root_directory";
    /**
     * 允许显示的文件后缀类型,用字符串数组表示,"mp3",不包含"."
     */
    public static final String ALLOW_EXTENSIONS = "allow_extensions";

    /**
     * 使用哪些预置菜单,int数组表示
     */
    public static final String USE_MENU_ITEMS = "use_menu_items";
    /**
     * 目录显示方式 SHOW_TYPE_ALL = 0 为显示全部文件和文件夹 SHOW_TYPE_ONLY_FILE = 1 为只显示文件
     * SHOW_TYPE_ONLY_DIRECTORY = 2 为只显示文件夹
     */
    public static final String DIRECTORY_SHOW_TYPE = "directory_show_type";

    /**
     * 是否使用简单文件预览 boolean类型表示
     */
    public static final String USE_SIMPLE_VIEW = "use_simple_view";
    /**
     * 是否显示文件后经名 boolean类型表示
     */
    public static final String SHOW_FILE_EXTENSION = "show_file_extension";
    /**
     * 是否在列表中显示文件或文件夹的简单信息 boolean类型表示
     */
    public static final String SHOW_INFO_IN_LIST = "show_info_in_list";
    /**
     * 是否在显示列表时使用动态效果 boolean类型表示
     */
    public static final String ANIMATION_LIST = "animation_show_list";

    public static final String OPEN_PATH_STR = "openPathStr";

    public static final String THIRD_PARTY_CALL = "thrid_party_call";
    public static final String MUTIPLE_SELECT_AVAILABLE = "mutiple_select";

    public static final int CONTEXT_MENU_ITEM_OPEN = Menu.FIRST;
    public static final int CONTEXT_MENU_ITEM_DELETE = 2;
    public static final int CONTEXT_MENU_ITEM_VIEW_INFO = 3;
    public static final int CONTEXT_MENU_ITEM_COPY_TO = 4;
    public static final int CONTEXT_MENU_ITEM_ADD_TO_FAVORITE = 9;
    public static final int CONTEXT_MENU_ITEM_SELECT = 99;

    public static final int OPTION_MENU_ITEM_PASTE = 5;
    public static final int OPTION_MENU_ITEM_NEW_DIRECTORY = 6;
    public static final int OPTION_MENU_ITEM_PREFERENCES = 7;

    public static final int OPTION_MENU_ITEM_ABOUT = 98;
    public static final int MENU_ITEM_RENAME = 8;
    public static final int FAVORITE_MENU_ITEM_RENAME = 10;
    public static final int FAVORITE_MENU_ITEM_DELETE = 11;

    public static final int DIALOG_CREATE_NEW_DIRECTORY = 0;
    public static final int DIALOG_DELETE_FILE = 1;
    public static final int DIALOG_DELETE_DIRECTORY = 2;
    public static final int DIALOG_VIEW_FILE_INFO = 3;
    public static final int DIALOG_VIEW_DIRECTORY_INFO = 4;
    public static final int DIALOG_UNSELECT_COPY_FILE = 5;
    public static final int DIALOG_SAME_NAME_FILE = 6;
    public static final int DIALOG_RENAME = 7;
    public static final int SHOW_TYPE_ALL = 0;
    public static final int SHOW_TYPE_ONLY_FILE = 1;
    public static final int SHOW_TYPE_ONLY_DIRECTORY = 2;
    public static final int ACTIVITY_PREFERENCES = 0;
    public static final String FILE_TYPE_DIRECTORY = "directory";
    public static final String FILE_TYPE_FILE = "file";
    
    public static final int TAB_SD_CARD_INDEX = 2;
    public static final int TAB_ROOT_INDEX = 1;
    public static final int TAB_FAVORITE_INDEX = 0;
}